#include <iostream>
#include <assert.h>
#include "matrix.h"

using namespace std;

int main(){
		TestMatrix test1, test2, check,res;
		test1.mat[0][0] = 1;
		test1.mat[0][1] = 2;
		test1.mat[1][0] = 3;
		test1.mat[1][1] = 4;

		test2.mat[0][0] = 5;
		test2.mat[0][1] = 6;
		test2.mat[1][0] = 7;
		test2.mat[1][1] = 8;

		check.mat[0][0] = 6;
		check.mat[0][1] = 8;
		check.mat[1][0] = 10;
		check.mat[1][1] = 12;

		res.add(test1,test2);

		cout<<endl<<"Start!"<<endl;
		for(int i=0;i<SIZE;i++)
			for(int j=0;j<SIZE;j++)
				cout<<check.mat[i][j]<<"\t";

		cout<<endl<<endl;
		for(int i=0;i<SIZE;i++)
			for(int j=0;j<SIZE;j++)
				cout<<res.mat[i][j]<<"\t";

		cout<<endl<<"Done!"<<endl;

		return 0;
}